{% if user.is_authenticated %}
<div class="content-section clearfix un-noted attention">
  <span class="pre-title">Your info (<a href="{% url profiles_edit_profile %}">edit</a>)</span>
  {% if user.get_profile.photo %}
  <img class="avatar" src="{{ user.get_profile.photo.url }}"/>
  {% else %}
  <img class="avatar" src="{{ MEDIA_URL }}images/default-avatar.gif"/>
  {% endif %}
	<dl id="profile-info">
		<dt>Username:</dt>
		<dd>{{ user }}</dd>
		{% if user.get_full_name %}
		<dt>Full name:</dt>
		<dd>{{ user.get_full_name }}</dd>
		{% endif %}
	</dl>	
	<p id="view-profile"><a href="{% url profiles_profile_detail user %}">View profile &raquo;</a></p>	
</div>	
{% else %}
<div id="register-now" class="content-section un-noted">
  <h3>Sign Up for Extra Features</h3>
  <p>Create a profile, comment on Reports and Blog posts, and get a personalized news feed.</p>
  <a href="{% url registration_register %}">Register now for free</a>
</div>
{% endif %}

